@charset "utf-8";

// 初始化设置
a:hover{
  text-decoration: none;
}
button:focus{
  outline: none;
}

header{
  min-width: 1240px;
  h1{
    height: 68px;
    a{
      width: 110px;
      height: 20px;
      background: url("../images/login/base.png") no-repeat left -4px;
    }
  }
}

// 登录主界面
// tips公共样式
.mz-tips{
  position: relative;
  margin: 4px 0;
  line-height: 33px;
  visibility: hidden;
  border: 1px solid #ffc2b3;
  background: #ffd1ca;
  .mz-err,.mz-close{
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../images/login/error-ico.png") no-repeat center;
    vertical-align: -3px;
  }
  .mz-close{
    position: absolute;
    right: 16px;
    top: 0;
    bottom: 0;
    margin: auto;
    background-image: url("../images/login/close-ico.png");
  }
}

.mz-main{
  position: relative;
  min-width: 1240px;
  height: 750px;
  background: url("../images/login/pic-flyme.png") no-repeat center/cover;
  &::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #edfcfd 0%,#faffff 100%);
    z-index: -1;
  }
  >div{
    position: relative;
    form{
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      padding: 35px 35px 10px;
      width: 368px;
    }
    .mz-login-1{
      position: absolute;
      height: 475px; 
      background-color: #fff;
      box-shadow: 0 6px 12px 0 rgba(138,153,150,.15);
      h2{
        margin: 12px 0 15px;
        a{
          font-size: 18px;
          color: #7f7f7f;
          border-color: transparent!important;
          &:hover{
            color: #000;
            border: 1px solid transparent;
          }
          &.active{
            color: #000;
          }
        }
        span{
          margin: 11px 14px;
          width: 2px;
          height: 14px;
          background-color: #B3ABAB;
        }
      }
      .mz-login-content{
        font-size: 14px;
        #show1{
          .uname,.upwd{
            input{
              margin: 10px 0;
              padding: 0 10px;
              width: 100%;
              height: 46px;
              border: 1px solid #ccc;
              &:focus{
                outline: 1px solid #387aff;
              }
            }
          }
          .autoLogin{
            input{
              width: 18px;
              height: 18px;
              vertical-align: -3px;
            }
          }
        }
      }
      >a{
        position: absolute;
        top: 8px;
        right: 8px;
        width: 35px;
        height: 35px;
        background: url("../images/login/phone.png") no-repeat center/cover;
      }
    }
    .mz-login-2{
      display: none;
      position: absolute;
      height: 316px;
      font-size: 14px;
      background-color: #fff;
      h2{
        margin-top: 35px;
        font-size: 22px;
        font-weight: bold;
      }
      .mz-phone{
        position: relative;
        padding: 0 10px;
        border: 1px solid #ccc;
        line-height: 48px;
        select{
          border: none;
          &:focus{
            outline: none;
          }
        }
        input{
          padding-left: 8px;
          height: 18px;
          border: 0;
          border-left: 1px solid #ccc;
          outline: none;
        }
      }
      >a{
        position: absolute;
        top: 8px;
        right: 8px;
        width: 35px;
        height: 35px;
        background: url("../images/login/pc.png") no-repeat center/cover;
      }
    }
    button{
      margin: 25px 0 10px;
      height: 46px;
      background-color: #387aff;
      border-radius: 4px;
      color: #fff;
      cursor: pointer;
    }
  }
}

footer{
  .mz-info{
    position: relative;
    font-size: 14px;
    >.mz-list{
      vertical-align: middle;
      >li{
        float: left;
        &+li:before{
          content: "";
          display: inline-block;
          margin: 0 9px;
          padding: 4px 0;
          width: 1px;
          height: 11px;
          background-color: #000;
        }
        a{
          color: #000;
          font-size: 14px;
        }
        &.lang::after{
          content: "";
          position: absolute;
          right: -10px;
          bottom: 0;
          width: 5px;
          height: 5px;
          background-image: linear-gradient(135deg, #fff 50%, #ccc 50%);
        }
        &.lang{
          position: relative;
          ul{
            display: none;
            position: absolute;
            left: 11px;
            bottom: 14px;
            width: 77px;
            >li{
              padding-left: 10px;
              line-height: 40px;
              border: 1px solid #ccc;
            }
          }
          &:hover ul{
            display: block;
          }
        }
      }
    }
    span{
      vertical-align: middle;
    }
    >a{
      width: 64px;
      line-height: 20px;
      background-color: #32a5e7;
      color: #fff;
      border-radius: 2px
    }
    .mz-icon{
      position: absolute;
      right: 0;
      top: -5px;
      width: 126px;
      a{
        width: 32px;
        height: 32px;
        background: url("../images/login/base.png") no-repeat -218px -91px;
        &.mz-weixin{
          background-position-x: -302px;
        }
        &.mz-qq{
          background-position-x: -344px;
        }
        &:hover{
          background-position-y: -137px;
        }
      }
    }
  }
  .mz-copyright{
    span,a{
      font-size: 10px;
      color: #7f7f7f;
    }
    img{
      width: 16px;
      height: 16px;
      vertical-align: -3px;
    }
  }
}